package com.ruoyi.baseSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋管理对象 m_building_manage
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class MBuildingManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表单id */
    private Long id;

    /** 小区 */
    @Excel(name = "小区")
    private Long residentialName;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private Long buildingName;

    /** 楼栋状态 0停止 1监测中 2已检测 */
    @Excel(name = "楼栋状态 0停止 1监测中 2已检测")
    private Long buildingStatus;


    //小区
    private Residential residential;
    //楼栋
    private Building building;

    public Residential getResidential() {
        return residential;
    }

    public void setResidential(Residential residential) {
        this.residential = residential;
    }

    public Building getBuilding() {
        return building;
    }

    public void setBuilding(Building building) {
        this.building = building;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResidentialName(Long residentialName) 
    {
        this.residentialName = residentialName;
    }

    public Long getResidentialName() 
    {
        return residentialName;
    }
    public void setBuildingName(Long buildingName) 
    {
        this.buildingName = buildingName;
    }

    public Long getBuildingName() 
    {
        return buildingName;
    }
    public void setBuildingStatus(Long buildingStatus) 
    {
        this.buildingStatus = buildingStatus;
    }

    public Long getBuildingStatus() 
    {
        return buildingStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("residentialName", getResidentialName())
            .append("buildingName", getBuildingName())
            .append("buildingStatus", getBuildingStatus())
            .toString();
    }
}
